package com.chen.springboot.dto.uniapp;

import org.apache.poi.ss.formula.functions.T;

import java.util.List;

public class PageResult {
    private long counts;
    private long pageSize;
    private long pages;
    private long page;
    private List<Goods> items;

    private boolean hasMore;

    // getter/setter
    public long getCounts() { return counts; }
    public void setCounts(long counts) { this.counts = counts; }
    public long getPageSize() { return pageSize; }
    public void setPageSize(long pageSize) { this.pageSize = pageSize; }
    public long getPages() { return pages; }
    public void setPages(long pages) { this.pages = pages; }
    public long getPage() { return page; }
    public void setPage(long page) { this.page = page; }
    public List<Goods> getItems() { return items; }
    public void setItems(List<Goods> items) { this.items = items;}

    public boolean isHasMore() {
        return hasMore;
    }

    public void setHasMore(boolean hasMore) {
        this.hasMore = hasMore;
    }
}
